/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.dao;

import java.util.List;

import com.sigmatrix.h5.entity.Enterprise;
import com.sigmatrix.h5.exception.DaoException;
import com.sigmatrix.sc.jdbc.common.dao.Dao;

/**
 *@ClassName: EnterpriseDao
 *@Description: 企业表
 *@author MH
 *@date 2017年8月17日 上午11:20:31
 */
public interface EnterpriseDao extends Dao<Enterprise,Integer>{
	
	/**
	 * 
	 *@Title: findByCode
	 *@Description: 通过编码查询
	 *@return Enterprise
	 *@author MH
	 *@date 2017年9月22日 下午5:39:38
	 *@param enterprideCode
	 *@return
	 */
	Enterprise findByCode(String enterprideCode);
	
	/**
	 *@Title: findById
	 *@Description: 根据主键查找企业信息
	 *@return Enterprise
	 *@author youjun
	 *@date 2017-08-03 11:01:33
	 *@param id
	 *@return
	 *@throws DaoException 
	 */
	Enterprise findById(final Integer id);
	
	/**
	 *@Title: findListByCondition
	 *@Description: 根据条件查找企业信息列表
	 *@return List<Enterprise>
	 *@author youjun
	 *@date 2017-08-03 11:01:33
	 *@param enterprise
	 *@return
	 *@throws DaoException
	 */
	List<Enterprise> findListByCondition(final Enterprise enterprise) throws DaoException;
}
